package infra.pool;

import infra.pool.interfaces.IConexao;
import infra.pool.interfaces.IConexaoFactory;

/**
 * Classe ConexaoFactory implementa a IConexaoFactory e retorna uma Instancia do Pool de Conexao.
 *   
 * @author Maisa Penha
 */
public class ConexaoFactory implements IConexaoFactory {

	/**
	 * @see infra.pool.interfaces.IConexaoFactory#criarPoolConexoes()
	 */
	public IConexao criarPoolConexoes(){
		IConexao instanciaPool = ControladorPoolConexoes.getInstance();
		return instanciaPool;
	}

}
